{* Template Name:文章页文章内容 *}
<div class="post single">
  <div class="content whisper-content leacots-content details-content">
    <div class="cont w1000">
      <div class="whisper-list">
        <div class="item-box">
          <div class="review-version">
              <div class="form-box">
                <div class="article-cont">
                  <div class="title">
                    <h3>{$article.Title}</h3>
                    <p class="cont-info">
											<span><i class="layui-icon layui-icon-username"></i>{$article.Author.Name}</span>  <span class="date"><i class="layui-icon layui-icon-reply-fill"></i>{$article.CommNums}</span>
											<span class="types">分类：{$article.Category.Name}</span>
											<span><i class="layui-icon layui-icon-log"></i>{$article.ViewNums}</span>
										</p>
                  </div>
									{$article.Content}
									{if count($article.Tags)>0}
									<div class="tags">
										<span>标签：</span>
										{foreach $article.Tags as $tag}<a href='{$tag.Url}' title='{$tag.Name}'>{$tag.Name}</a>{/foreach}
									</div>
									{/if}
                  <div class="btn-box">
										<span>
											{if $article.Prev}上一篇：<a href="{$article.Prev.Url}">{$article.Prev.Title}</a >{else}没有更早的文章了...{/if}
										</span>
										<span>
												{if $article.Next}下一篇：<a href="{$article.Next.Url}">{$article.Next.Title}</a >{else}没有最新的文章了...{/if}
										</span>
                  </div>
                </div>
          		</div>
        	</div>
      	</div>
			</div>
			<div class="furtherRead">
				<h6>延伸阅读</h6>
				<ul id="related">
				{foreach GetList(5,$article.Category.ID) as $related}
						<li>
							<span class="title">
								<a href="{$related.Url}" title="{$related.Title}">{$related.Title}</a>
							</span>
						</li>
				{/foreach}
				</ul>
			</div>
			<div class="remark">
				{template:comments}
			</div>
    </div>
  </div>
</div>